#include "startpage.h"

StartPage::StartPage(QDialog *parent)
    : QDialog{parent}
{
    setWindowFlags(Qt::FramelessWindowHint | Qt::Tool);
    setFixedSize(1450,860);
    setStyleSheet("background-color:white");

    QLabel * label = new QLabel(this);
    label->setPixmap(QPixmap(":/images/startupPage/biteshipin.png"));
    label->move(524,374);
}

void StartPage::startUp()
{
    QTimer* timer = new QTimer();
    connect(timer,&QTimer::timeout,this,[=]{
        timer->stop();
        delete timer;
        close();
    });
    timer->start(1000);
}


